.class Les/kx$a;
.super Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;
.source "TaskGridViewWrapper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/kx;->o0()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/estrongs/android/view/FeaturedGridViewWrapper<",
        "Lcom/estrongs/fs/g;",
        ">.GridAdapter<",
        "Lcom/estrongs/fs/g;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic e:Les/kx;


# direct methods
.method constructor <init>(Les/kx;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/kx$a;->e:Les/kx;

    invoke-direct {p0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;-><init>(Lcom/estrongs/android/view/FeaturedGridViewWrapper;)V

    return-void
.end method


# virtual methods
.method public a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)V
    .locals 3

    .line 1
    iget-object v0, p0, Les/kx$a;->e:Les/kx;

    invoke-virtual {v0, p2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/g;

    const-string v1, "task"

    invoke-interface {v0, v1}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/s80;

    .line 2
    iget-object v1, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/gx;

    .line 3
    invoke-virtual {v1}, Les/gx;->c()V

    .line 4
    invoke-virtual {v1, v0}, Les/gx;->a(Les/s80;)V

    .line 5
    iget-object v0, p0, Les/kx$a;->e:Les/kx;

    invoke-static {v0}, Les/kx;->j(Les/kx;)Z

    move-result v0

    invoke-virtual {v1, v0}, Les/gx;->b(Z)V

    .line 6
    iget-object v0, p0, Les/kx$a;->e:Les/kx;

    invoke-virtual {v0, p2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g(I)Z

    move-result v0

    invoke-virtual {v1, v0}, Les/gx;->a(Z)V

    .line 7
    iget-object v0, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Landroid/view/View;->setFocusable(Z)V

    .line 8
    iget-object v0, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    new-instance v2, Les/kx$a$a;

    invoke-direct {v2, p0, v1, p2}, Les/kx$a$a;-><init>(Les/kx$a;Les/gx;I)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 9
    iget-object v0, p0, Les/kx$a;->e:Les/kx;

    invoke-static {v0}, Les/kx;->l(Les/kx;)Lcom/estrongs/android/view/FeaturedGridViewWrapper$d;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 10
    iget-object v0, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    new-instance v2, Les/kx$a$b;

    invoke-direct {v2, p0, p2}, Les/kx$a$b;-><init>(Les/kx$a;I)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

    .line 11
    iget-object v0, v1, Les/gx;->g:Landroid/widget/ImageView;

    new-instance v2, Les/kx$a$c;

    invoke-direct {v2, p0, p1, p2}, Les/kx$a$c;-><init>(Les/kx$a;Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)V

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    .line 12
    :cond_0
    iget-object p1, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

    .line 13
    :goto_0
    iget-object p1, v1, Les/gx;->f:Landroid/view/View;

    new-instance v0, Les/kx$a$d;

    invoke-direct {v0, p0, v1, p2}, Les/kx$a$d;-><init>(Les/kx$a;Les/gx;I)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public bridge synthetic onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .locals 0

    .line 1
    check-cast p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;

    invoke-virtual {p0, p1, p2}, Les/kx$a;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)V

    return-void
.end method

.method public bridge synthetic onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .locals 0

    .line 1
    invoke-virtual {p0, p1, p2}, Les/kx$a;->onCreateViewHolder(Landroid/view/ViewGroup;I)Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;

    move-result-object p1

    return-object p1
.end method

.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;
    .locals 1

    .line 2
    iget-object p1, p0, Les/kx$a;->e:Les/kx;

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    const-string p2, "task"

    invoke-interface {p1, p2}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/s80;

    .line 3
    new-instance p2, Les/gx;

    iget-object v0, p0, Les/kx$a;->e:Les/kx;

    invoke-static {v0}, Les/kx;->a(Les/kx;)Landroid/content/Context;

    move-result-object v0

    invoke-direct {p2, v0, p1}, Les/gx;-><init>(Landroid/content/Context;Les/s80;)V

    .line 4
    invoke-virtual {p2}, Les/gx;->b()Landroid/view/View;

    move-result-object p1

    .line 5
    invoke-virtual {p1, p2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 6
    iget-object p1, p0, Les/kx$a;->e:Les/kx;

    invoke-static {p1}, Les/kx;->b(Les/kx;)Ljava/util/List;

    move-result-object p1

    invoke-interface {p1, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 7
    invoke-virtual {p2}, Les/gx;->b()Landroid/view/View;

    move-result-object p1

    .line 8
    new-instance p2, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;

    invoke-direct {p2, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;-><init>(Landroid/view/View;)V

    return-object p2
.end method
